home *** CD-ROM | disk | FTP | other *** search
- //
- // CITClickTab include
- //
- // StormC
- //
- // version 2002.02.03
- //
-
- #ifndef CIT_CLICKTAB_H
- #define CIT_CLICKTAB_H TRUE
-
- #ifndef CIT_GADGETS_H
- #include "CITGadget.h"
- #endif
-
- class CITGroup;
-
- class CITClickTab:public CITGadget
- {
- public:
- CITClickTab();
- ~CITClickTab();
-
- void NewTab(CITGroup& group,char* label);
- void NewTab(CITGroup& group,struct Image* im,struct Image* selIm = NULL);
- void TabTextPen(WORD pen);
- void Current(LONG cur);
-
- LONG Current();
-
- virtual BOOL Attach(Object* child,TagItem* tag,WORD first=FALSE);
-
- protected:
- virtual BOOL Create(CITWindow* CITWd,class CITRootClass* parent);
- virtual void Delete();
- virtual Object* NewObjectA(TagItem* tags);
-
- CITList labelList;
-
- private:
- TagItem* pTag;
- TagItem* clickTabTag;
- CITList pageList;
- short nodeNum;
- short nodeCurrent;
- };
-
- #endif
-